<?php


include("../Connections/locale.php");

mysql_select_db($database_locale, $locale);

$alltables = mysql_query("SHOW TABLES");

while ($table = mysql_fetch_assoc($alltables))
{

   foreach ($table as $db => $tablename)
   {
       mysql_query("OPTIMIZE TABLE ".$tablename) or die(mysql_error());
	  ?>
<link href="../style.css" rel="stylesheet" type="text/css">

	  Tabella <strong><?php echo $tablename;?></strong> ottimizzata correttamente. <br/>
	  <?php
   }
   
}

?>